package com.TPNexus.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Set;

import javax.enterprise.context.SessionScoped;
import javax.inject.Named;

@Named
@SessionScoped
public class ShoppingCart implements Serializable {

	private static final long serialVersionUID = 1L;
	private long shoppingCartId;
	private List<ShoppingCartItem> shoppingCartItems = new ArrayList<ShoppingCartItem>();
	private long userId;


	public ShoppingCart() {
//		setShoppingcartitem(new ShoppingCartItem());
	}


	public long getShoppingCartId() {
		return shoppingCartId;
	}


	public void setShoppingCartId(long shoppingCartId) {
		this.shoppingCartId = shoppingCartId;
	}


	public List<ShoppingCartItem> getShoppingCartItems() {
		return shoppingCartItems;
	}


	public void setShoppingCartItems(List<ShoppingCartItem> shoppingCartItems) {
		this.shoppingCartItems = shoppingCartItems;
	}


	public long getUserId() {
		return userId;
	}


	public void setUserId(long userId) {
		this.userId = userId;
	}

	
}
